package com.lp.rpc.constants;

public interface LpConstant {

    /**
     * 注册中心根节点
     */
    public final String ServiceRoot = "/lpRpc";

    public final int zkTimeOut = 6000;
    /**
     * 消息为请求request
     */
    public final byte LpRpcMsgRequest = 1;

    /**
     * 消息为相应response
     */
    public final byte LpRpcMsgResponse = 2;

    /**
     * 心跳
     */
    public final byte LpRpcHeartbeat = 3;

    public final String HOST = "host";

    public final String PORT = "port";

    public final String SERVICE = "service";
}
